package com.ethink.warehouse.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 库存状态变更 INFO实体
 *
 * @author default
 * @date 2023-01-14
 */
@Data
public class MateInventoryTypeChangeLogInfo {

    @Schema(description ="主键")
    private Long id;

    @Schema(description ="变更单号")
    private String orderNo;

    @Schema(description ="枚举 订单状态:1-草稿(s1)|2-待审批(s2)|3-完成(s3)")
    private Integer orderStatus;

    @Schema(description ="分仓编号")
    private String subWarehouseCode;

    @Schema(description ="渠道")
    private String saleSubChannel;

    @Schema(description ="枚举 变更类型:1-良品转瑕疵(c1)|2-瑕疵转良品(c2)")
    private Integer changeType;

    @Schema(description ="操作人账号")
    private String createUserCode;

    @Schema(description ="操作人名称")
    private String createUserName;

    @Schema(description ="审核人账号")
    private String auditUserCode;

    @Schema(description ="审核人名称")
    private String auditUserName;

    @Schema(description ="数据删除标志(0-正常,1-删除)")
    private Integer isDeleted;

    @Schema(description ="数据创建时间戳")
    private Date createTime;

    @Schema(description ="数据更新时间戳")
    private Date updateTime;

    @Schema(description ="创建人")
    private String createUser;

    @Schema(description ="修改人")
    private String updateUser;

    @Schema(description ="备注信息")
    private String remark;

    @Schema(description ="分仓名称")
    private String subWarehouseName;

    @Schema(description ="操作数量")
    private Integer totalQty;

    @Schema(description ="成本总价")
    private BigDecimal totalCostPrice;
}
